{extend name="public/base" /}
<!-- 子导航 -->
{block name="sidebar"}
{include file="appointment/sidemenu" /}
{/block}
{block name="body"}
<!-- 标题栏 -->
<div class="main-title">
    <h2>回收站({:count($_list)})</h2>
</div>

<div class="tools auth-botton">
    <button url="{:url('appointment/clear')}" class="btn confirm ajax-get">清 空</button>
    <button url="{:url('changeStatus?method=resumeappoint')}" class="btn confirm ajax-post" target-form="ids">还 原</button>
</div>

<!-- 数据列表 -->
<div class="data-table table-striped">
    <table class="">
        <thead>
        <tr>
            <th class="row-selected row-selected"><input class="check-all" type="checkbox"/></th>
            <th class="">UID</th>
            <th class="">用户名</th>
            <th class="">邮箱</th>
            <th class="">手机号</th>
            <th class="">教师姓名</th>
            <th class="">预约时间</th>
            <th class="">操作</th>
        </tr>
        </thead>
        <tbody>
        {volist name="_list" id="vo"}
        <tr>
            <td><input class="ids" type="checkbox" name="id[]" value="{$vo.uid}" /></td>
            <td>{$vo.uid} </td>
            <td>{$vo.username}</td>
            <td>{$vo.email}</td>
            <td>{$vo.mobile}</td>
            <td>{$vo.name}</td>
            <td>{$vo.appoint_time}</td>
            <td>
                <a href="{:url('Appointment/changeStatus?method=resumeappoint&id='.$vo['uid'])}" class="confirm ajax-get">还原</a>
            </td>
        </tr>
        {/volist}
        </tbody>
    </table>

</div>
<div class="page">
    {$_page}
</div>
{/block}
